<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>答疑 - 乐考无忧</title>
    <link href="assets/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="assets/css/bootstrap-icons.css">
    <style>
        body {
            background-color: #f0f9f9;
            padding-bottom: 60px;
        }
        .header {
            padding: 15px;
            background: white;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .qa-container {
            padding: 15px;
        }
        .qa-card {
            background: white;
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 15px;
        }
        .qa-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }
        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #eee;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
        }
        .qa-meta {
            color: #666;
            font-size: 0.9rem;
        }
        .qa-subject {
            display: inline-block;
            padding: 2px 8px;
            background: #f0f9f9;
            border-radius: 12px;
            font-size: 0.8rem;
            color: #00b8a9;
            margin-right: 8px;
        }
        .qa-content {
            margin: 10px 0;
            line-height: 1.6;
        }
        .qa-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #666;
            font-size: 0.9rem;
        }
        .qa-actions {
            display: flex;
            gap: 15px;
        }
        .qa-action {
            color: #666;
            text-decoration: none;
        }
        .floating-btn {
            position: fixed;
            bottom: 80px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 25px;
            background: #00b8a9;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            padding: 10px 0;
            border-top: 1px solid #eee;
            z-index: 1000;
        }
        .qa-image {
            margin: 10px 0;
        }
        .qa-image img {
            max-width: 100%;
            border-radius: 8px;
        }
    </style>
</head>
<body>
    <!-- 头部 -->
    <div class="header d-flex align-items-center">
        <a href="index.html" class="text-dark"><i class="bi bi-chevron-left fs-4"></i></a>
        <h5 class="mb-0 mx-auto">答疑</h5>
    </div>

    <!-- 问答列表 -->
    <div class="qa-container">
        <div class="qa-card">
            <div class="qa-header">
                <div class="avatar">
                    <i class="bi bi-person"></i>
                </div>
                <div>
                    <div>用户12345</div>
                    <div class="qa-meta">
                        <span class="qa-subject">英语</span>
                        <span>2小时前</span>
                    </div>
                </div>
            </div>
            <div class="qa-content">
                <a href="qa-detail.html" class="text-dark text-decoration-none">
                    请问2024年英语大纲有什么变化吗？重点应该放在哪些方面？
                </a>
            </div>
            <div class="qa-footer">
                <div class="qa-actions">
                    <a href="#" class="qa-action">
                        <i class="bi bi-chat"></i>
                        <span>8条回答</span>
                    </a>
                    <a href="#" class="qa-action">
                        <i class="bi bi-hand-thumbs-up"></i>
                        <span>12</span>
                    </a>
                </div>
                <a href="#" class="qa-action">
                    <i class="bi bi-share"></i>
                    <span>分享</span>
                </a>
            </div>
        </div>

        <div class="qa-card">
            <div class="qa-header">
                <div class="avatar">
                    <i class="bi bi-person"></i>
                </div>
                <div>
                    <div>用户67890</div>
                    <div class="qa-meta">
                        <span class="qa-subject">数学</span>
                        <span>5小时前</span>
                    </div>
                </div>
            </div>
            <div class="qa-content">
                高数积分部分有什么好的复习方法推荐吗？感觉知识点太多记不住。
            </div>
            <div class="qa-footer">
                <div class="qa-actions">
                    <a href="#" class="qa-action">
                        <i class="bi bi-chat"></i>
                        <span>15条回答</span>
                    </a>
                    <a href="#" class="qa-action">
                        <i class="bi bi-hand-thumbs-up"></i>
                        <span>24</span>
                    </a>
                </div>
                <a href="#" class="qa-action">
                    <i class="bi bi-share"></i>
                    <span>分享</span>
                </a>
            </div>
        </div>

        <div class="qa-card">
            <div class="qa-header">
                <div class="avatar">
                    <i class="bi bi-person"></i>
                </div>
                <div>
                    <div>用户24680</div>
                    <div class="qa-meta">
                        <span class="qa-subject">英语</span>
                        <span>1天前</span>
                    </div>
                </div>
            </div>
            <div class="qa-content">
                2023年英语一真题Text 3中提到的"bleisure travel"具体是什么意思？为什么会出现这种旅行方式？
                <div class="qa-image">
                    <img src="images/question1.jpg" alt="真题截图" class="img-fluid rounded">
                </div>
            </div>
            <div class="qa-footer">
                <div class="qa-actions">
                    <a href="#" class="qa-action">
                        <i class="bi bi-chat"></i>
                        <span>5条回答</span>
                    </a>
                    <a href="#" class="qa-action">
                        <i class="bi bi-hand-thumbs-up"></i>
                        <span>8</span>
                    </a>
                </div>
                <a href="#" class="qa-action">
                    <i class="bi bi-share"></i>
                    <span>分享</span>
                </a>
            </div>
        </div>

        <div class="qa-card">
            <div class="qa-header">
                <div class="avatar">
                    <i class="bi bi-person"></i>
                </div>
                <div>
                    <div>用户13579</div>
                    <div class="qa-meta">
                        <span class="qa-subject">英语</span>
                        <span>2天前</span>
                    </div>
                </div>
            </div>
            <div class="qa-content">
                2023年英语一小作文是关于workshop的邀请信，请问这种类型的小作文应该如何布局？有什么写作技巧吗？
            </div>
            <div class="qa-footer">
                <div class="qa-actions">
                    <a href="#" class="qa-action">
                        <i class="bi bi-chat"></i>
                        <span>12条回答</span>
                    </a>
                    <a href="#" class="qa-action">
                        <i class="bi bi-hand-thumbs-up"></i>
                        <span>20</span>
                    </a>
                </div>
                <a href="#" class="qa-action">
                    <i class="bi bi-share"></i>
                    <span>分享</span>
                </a>
            </div>
        </div>
    </div>

    <!-- 发布问题按钮 -->
    <a href="qa-add.html" class="floating-btn border-0">
        <i class="bi bi-plus-lg fs-4"></i>
    </a>

    <!-- 底部导航 -->
    <div class="bottom-nav">
        <div class="d-flex justify-content-around">
            <div class="text-center">
                <a href="index.html" class="text-decoration-none text-dark">
                    <i class="bi bi-house-door"></i>
                    <div>首页</div>
                </a>
            </div>
            <div class="text-center">
                <a href="qa.html" class="text-decoration-none text-dark">
                    <i class="bi bi-chat-dots-fill"></i>
                    <div>答疑</div>
                </a>
            </div>
            <div class="text-center">
                <a href="profile.html" class="text-decoration-none text-dark">
                    <i class="bi bi-person"></i>
                    <div>我的</div>
                </a>
            </div>
        </div>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html> 